package com.k.designpattern.creational.builder.beanbuilder;

/**
 * @author k
 */
public class StudentTest {
    public static void main(String[] args) {
        Student student = new StudentBuilder().setId(1L).setName("ljw").setAddress("harbin").build();
        System.out.println(student);
        Student student1 = StudentBuilder.create().setId(1L).setName("ljw").setAddress("beijing").build();
        System.out.println(student1);
    }
}
